package com.xiaofeng.auth.api;

import com.xiaofeng.auth.entity.AuthUserDTO;
import com.xiaofeng.auth.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author: chc
 * @Date: 2024/02/29/22:42
 * @Description: 用户服务feign
 */
@FeignClient("hc-club-auth")
public interface UserFeignService {

    @PostMapping("/user/getUserInfo")
    Result<AuthUserDTO> getUserInfo(@RequestBody AuthUserDTO authUserDTO);
}
